
package battleofthejavasea;

/**
 *
 * @author Murata, Saito, Santana
 * DTO para manter track de winners e scores.
 */
public class BTJS_DTOPlayerWinner {

    private int localPlayerScore;
    private int remotePlayerScore;
    private boolean isLocalPlayerWinner;
    private boolean isRemotePlayerWinner;

    public BTJS_DTOPlayerWinner(){
        this.localPlayerScore = 0;
        this.remotePlayerScore = 0;
        this.isLocalPlayerWinner = false;
        this.isRemotePlayerWinner = false;
    }

    //gets/sets
    public int getLocalPlayerScore(){
        return this.localPlayerScore;
    }

    public void setLocalPlayerScore(int newScore){
        this.localPlayerScore = newScore;
    }

    public int getRemotePlayerScore(){
        return this.remotePlayerScore;
    }

    public void setRemotePlayerScore(int newScore){
        this.remotePlayerScore = newScore;
    }

    public boolean getIsLocalPlayerWinner(){
       return this.isLocalPlayerWinner;
    }

    public void setIsLocalPlayerWinner(boolean value){
        this.isLocalPlayerWinner = value;
    }

    public boolean getIsRemotePlayerWinner(){
        return this.isRemotePlayerWinner;
    }
    
    public void setIsRemotePlayerWinner(boolean value){
        this.isRemotePlayerWinner = value;
    }

}
